<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
 <head>
  <title>Compact: Inheriting from the right element</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/compact/001-alt.html"/>
    <style type="text/css">
   .compact { display: compact; color: inherit; }
   .compact-parent, span { color: green; }
   .compact-sibling { color: red; margin: 0 0 0 20em; }
  </style>
 </head>
 <body>
  <p>There should be no red below.</p>
  <div class="compact-parent">
   <div class="compact"> This line should be green. </div>
   <div class="compact-sibling"> <span>(same line)</span> </div>
 </body>
</html>
